package com.hongye.agent.service.impl;

import com.hongye.agent.dao.SecondHandHouseDao;
import com.hongye.agent.entity.HongyeHouse;
import com.hongye.agent.service.SecondHandHouseService;
import com.hongye.agent.vo.FindSecondHandHouseVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author caojianbin
 * @time 2022/4/29
 */
@Service
public class SecondHandHouseServiceImpl implements SecondHandHouseService {

    @Autowired
    private SecondHandHouseDao secondHandHouseDao;
    @Override
    public List<HongyeHouse> findSecondHandHouse(FindSecondHandHouseVo findSecondHandHouseVo) {
        return secondHandHouseDao.findSecondHandHouse(findSecondHandHouseVo);
    }
}
